package com.hqj.demo.dao;

import com.hqj.demo.entity.Teacher;

import java.util.ArrayList;
import java.util.List;

public class TeacherDaoI implements TeacherDao {
    @Override
    public List<Teacher> find() {

        List<Teacher> list = new ArrayList<>();
        Teacher t1 = new Teacher("htt01","女",1.56);
        Teacher t2 = new Teacher("htt02","男",1.76);

        list.add(t1);
        list.add(t2);
        return list;
    }
}
